module Base
{

    /*============== Ammo ===============*/
	
	/*============== 5.56x45===============*/

	
	item 556AKClip
    {
        CanStack	        =		FALSE,
        Weight	            =		0.2,
        Type	            = 		Normal,
        DisplayName	        =		AK74 Magazine,
		DisplayCategory		=		Ammo,
        Icon	            =		m16clip,
        MaxAmmo             =		30,
        AmmoType            =		556Bullets,
        GunType             =		STG943,
		WorldStaticModel    =		gun_magazine_new,
		Tags				=		HasMetal;RifleMagazine,
    }

	/*============== 9x39mm===============*/

	item 9x39mmBullets
	{
	    Count		=	5,
        Weight		=	0.02,
	    AlwaysWelcomeGift =	TRUE,
        Type		=	Normal,
	    DisplayCategory =	Ammo,
        DisplayName	=	9x39mm Round,
	    Icon		=	545Bullets,
        MetalValue	=	1,
	    WorldStaticModel    =   9x39mmBullets,
    }
	model 9x39mmBullets
    {
        mesh = weapons/ammo/Rifle_Ammo,
		texture = weapons/ammo/545Bullets_tex,
		scale = 0.5,
		
    }
	item 9x39mmBox
	{
	    Weight		=	0.4,
	    AlwaysWelcomeGift =	TRUE,
        Type		=	Normal,
	    DisplayName	=	Box of 9x39mm Rounds,
		DisplayCategory	=	Ammo,
	    Icon		=	545AmmoBox,
        MetalValue 	=	10,
		WorldStaticModel    =   9x39mmBox,
    }
	model 545x39Box
    {
        mesh = weapons/ammo/AmmoBox,
		texture = weapons/ammo/545AmmoBox_tex,
		scale = 1.0,
		
    }
	
	craftRecipe OpenBoxof9x39mmmRounds
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 1 [Base.9x39mmBox],
		}
		outputs
		{
			item 40 Base.9x39mmBullets,
		}
	}

	craftRecipe Put9x39mmRoundsInBox
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 40 [Base.9x39mmBullets],
		}
		outputs
		{
			item 1 Base.9x39mmBox,
		}
	}

	item 9x39Mag20
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   VSS Vintorez Magazine,
        Icon	            =	   VSS_MAG,
        MaxAmmo             =      20,
        AmmoType            =      9x39mmBullets,
        GunType             =      VSS,
		WorldStaticModel    =	   9x39Mag20,
    }
	model 9x39Mag20
    {
        mesh = weapons/ammo/AK74_MAG,
		texture = weapons/ammo/AK74_MAG,
    }

	item 9x39Mag20Groza
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   Groza Magazine,
        Icon	            =	   VSS_MAG,
        MaxAmmo             =      20,
        AmmoType            =      9x39mmBullets,
        GunType             =      VSS,
		WorldStaticModel    =	   9x39Mag20Groza,
    }
	model 9x39Mag20Groza
    {
        mesh = weapons/ammo/AK74_MAG,
		texture = weapons/ammo/AK74_MAG,
    }

	/*============== 5.45x39===============*/

	item 545x39Bullets
	{
	    Count		=	5,
        Weight		=	0.02,
	    AlwaysWelcomeGift =	TRUE,
        Type		=	Normal,
	    DisplayCategory =	Ammo,
        DisplayName	=	5.45x39mm Round,
	    Icon		=	545Bullets,
        MetalValue	=	1,
	    WorldStaticModel    =   545x39Bullets,
    }
	model 545x39Bullets
    {
        mesh = weapons/ammo/Rifle_Ammo,
		texture = weapons/ammo/545Bullets_tex,
		scale = 0.5,
		
    }
	item 545x39Box
	{
	    Weight		=	0.4,
	    AlwaysWelcomeGift =	TRUE,
        Type		=	Normal,
	    DisplayName	=	Box of 5.45x39mm Rounds,
		DisplayCategory	=	Ammo,
	    Icon		=	545AmmoBox,
        MetalValue 	=	10,
		WorldStaticModel    =   545x39Box,
    }
	model 545x39Box
    {
        mesh = weapons/ammo/AmmoBox,
		texture = weapons/ammo/545AmmoBox_tex,
		scale = 1.0,
		
    }
	
	craftRecipe OpenBoxof545x39mmRounds
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 1 [Base.545x39Box],
		}
		outputs
		{
			item 60 Base.545x39Bullets,
		}
	}

	craftRecipe Put545x39mmRoundsInBox
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 60 [Base.545x39Bullets],
		}
		outputs
		{
			item 1 Base.545x39Box,
		}
	}

	item 545Clip30
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   AK74 Magazine,
        Icon	            =	   AK74MAG,
        MaxAmmo             =      30,
        AmmoType            =      545x39Bullets,
        GunType             =      MPI74,
		WorldStaticModel    =	   545Clip30,
    }
	model 545Clip30
    {
        mesh = weapons/ammo/AK74_MAG,
		texture = weapons/ammo/AK74_MAG,
    }

	item 545Clip30
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   AK-74 Magazine,
        Icon	            =	   AK74MAG,
        MaxAmmo             =      30,
        AmmoType            =      545x39Bullets,
        GunType             =      MPI74,
		WorldStaticModel    =	   545Clip30,
    }
	model 545Clip30
    {
        mesh = weapons/ammo/AK74_MAG,
		texture = weapons/ammo/AK74_MAG,
    }

	item 545Clip45
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   RPK-74 Magazine,
        Icon	            =	   RPK74_MAGAZINE,
        MaxAmmo             =      45,
        AmmoType            =      545x39Bullets,
        GunType             =      RPK74,
		WorldStaticModel    =	   545Clip45,
    }
	model 545Clip45
    {
        mesh = weapons/ammo/AK74_MAG,
		texture = weapons/ammo/AK74_MAG,
		scale = 1.2,
    }
    	
	/*============== 762x39Bullets ===============*/


	item 762Bullets
	{
	    Count		=	5,
        Weight		=	0.02,
	    AlwaysWelcomeGift =	TRUE,
        Type		=	Normal,
	    DisplayCategory =	Ammo,
        DisplayName	=	7.62x39mm Round,
	    Icon		=	762Bullets,
        MetalValue	=	1,
		WorldStaticModel    =   762x39Bullets,
    }
	model 762x39Bullets
    {
        mesh = weapons/ammo/Rifle_Ammo,
		texture = weapons/ammo/762Bullets_tex,
		scale = 0.5,
		
    }
	item 762Box
	{
	    Weight		=	0.4,
	    AlwaysWelcomeGift =	TRUE,
        Type		=	Normal,
	    DisplayName	=	Box of 7.62x39mm  Rounds,
		DisplayCategory	=	Ammo,
	    Icon		=	762AmmoBox,
        MetalValue 	=	10,
		WorldStaticModel    =   762x39Box,
    }
	model 762x39Box
    {
        mesh = weapons/ammo/AmmoBox,
		texture = weapons/ammo/762AmmoBox_tex,
		scale = 1.1,
		
    }

    craftRecipe OpenBoxof762x39mmRounds
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 1 [Base.762Box],
		}
		outputs
		{
			item 60 Base.762Bullets,
		}
	}

	craftRecipe Put762x39mmRoundsInBox
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 60 [Base.762Bullets],
		}
		outputs
		{
			item 1 Base.762Box,
		}
	}

	item 762Clip
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   AK47 Magazine,
        Icon	            =	   AK47MAG,
        MaxAmmo             =      30,
        AmmoType            =      762Bullets,
        GunType             =      AMD65,
		WorldStaticModel    =	   762Clip30,
    }
	model 762Clip30
    {
        mesh = weapons/ammo/AK47_MAG,
		texture = weapons/ammo/AK47_MAG,	
    }

	item 762ClipVZ58
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   Sa vz. 58 Magazine,
        Icon	            =	   AK47MAG,
        MaxAmmo             =      30,
        AmmoType            =      762Bullets,
        GunType             =      VZ58,
		WorldStaticModel    =	   762Clip30,
    }
	model 762Clip30
    {
        mesh = weapons/ammo/AK47_MAG,
		texture = weapons/ammo/AK47_MAG,
    }

	item 762Clip40
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   RPK Magazine,
        Icon	            =	   RPKMAG,
        MaxAmmo             =      40,
        AmmoType            =      762Bullets,
        GunType             =      RPK,
		WorldStaticModel    =	   762Clip45,
    }
	model 762Clip45
    {
        mesh = weapons/ammo/RPK_MAG,
		texture = weapons/ammo/RPK_MAG,		
    }

	/*========= 7.62x54r ===============*/
	
	item 762x54Bullets
	{
	    Count		=	5,
        Weight		=	0.02,
	    AlwaysWelcomeGift =	TRUE,
        Type		=	Normal,
	    DisplayCategory =	Ammo,
        DisplayName	=	7.62x54r Round,
	    Icon		=	762x54Bullets,
        MetalValue	=	1,
		WorldStaticModel    =   762x54Bullets,
    }
	model 762x54Bullets
    {
        mesh = weapons/ammo/Rifle_Ammo,
		texture = weapons/ammo/762x54Bullets_tex,
		scale = 0.5,
		
    }
	item 762x54Box
	{
	    Weight		=	0.4,
	    AlwaysWelcomeGift =	TRUE,
        Type		=	Normal,
	    DisplayName	=	Box of 7.62x54r Rounds,
		DisplayCategory	=	Ammo,
	    Icon		=	762x54AmmoBox,
        MetalValue 	=	10,
		WorldStaticModel    =   762x54Box,
    }
	model 762x54Box
    {
        mesh = weapons/ammo/AmmoBox_Carcano,
		texture = weapons/ammo/762x54AmmoBox_tex,
		scale = 1.1,
		
    }
	
    craftRecipe OpenBoxof762x54Rounds
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 1 [Base.762x54Box],
		}
		outputs
		{
			item 20 Base.762x54Bullets,
		}
	}

	craftRecipe Put762x54InBox
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 20 [Base.762x54Bullets],
		}
		outputs
		{
			item 1 Base.762x54Box,
		}
	}

	item PSLMag
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   PSL Magazine,
        Icon	            =	   SVD_Magzine,
        MaxAmmo             =      10,
        AmmoType            =      762x54Bullets,
        GunType             =      PSL,
		WorldStaticModel    =	   PSLMag,
    }
	model PSLMag
    {
        mesh = weapons/ammo/PSL_Magazine,
		texture = weapons/ammo/PSL_Magazine_tex,
		
    }

	/*============== 9x18mm Rounds ===============*/
	
	item Bullets9x18mm
    {
        DisplayCategory = Ammo,
        Count	=	5,
        Weight	=	0.01,
        Type	=	Normal,
        DisplayName	=		9x18mm Rounds,
        Icon	=	9x18Bullet,
        MetalValue = 1,
        WorldStaticModel = 9mmRounds,
    }

	item Bullets9x18mmBox
    {
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	Box of 9x18mm Rounds,
        DisplayCategory = Ammo,
        Icon	=	9x18_Box,
        MetalValue = 30,
        WorldStaticModel = 9x18Box,
        PlaceOneSound = BoxOfRoundsPlaceOne,
        PlaceMultipleSound = BoxOfRoundsPlaceAmak
    }

	model 9x18Box
	{
		mesh = worlditems/9x18box,
		texture = worlditems/9x18,
		scale = 0.5,
        attachment world
		{
			offset = 0.0000 0.0000 0.0000,
			rotate = 180.0000 0.0000 0.0000,
		}
	}

	craftRecipe OpenBoxof9x18mmRounds
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 1 [Base.Bullets9x18mmBox],
		}
		outputs
		{
			item 50 Base.Bullets9x18mm,
		}
	}

	craftRecipe Put9x18mmInBox
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 50 [Base.Bullets9x18mm],
		}
		outputs
		{
			item 1 Base.Bullets9x18mmBox,
		}
	}
		
	item PM63Mag
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   PM-63 Magazine,
        Icon	            =	   PM63_Magazine,
        MaxAmmo             =      25,
        AmmoType            =      Bullets9x18mm,
        GunType             =      PM63,
		WorldStaticModel    =	   PM63Mag,
    }
	model PM63Mag
    {
        mesh = weapons/ammo/PM63_Magazine,
		texture = weapons/ammo/PM63_Magazine_tex,		
    }

	item APSMag
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.1,
        Type	            = 	   Normal,
        DisplayName	        =	   APS Magazine,
        Icon	            =	   APS_Magazine,
        MaxAmmo             =      20,
        AmmoType            =      Bullets9x18mm,
        GunType             =      APS,
		WorldStaticModel    =	   APSMag,
    }

	model APSMag
    {
        mesh = weapons/ammo/APS_Magazine,
		texture = weapons/ammo/APS_Magazine_tex,
    }

	/*=============== .32 ACP Ammo ==================*/
	
	item Bullets32
	{
		Count		=	5,
		Weight		=	0.012,
		Type		=	Normal,
		DisplayCategory =	Ammo,
		DisplayName	=	.32 ACP Round,
		Icon		=	32ACPBullets,
		MetalValue 	=	1,
		WorldStaticModel = 9mmRounds,
	}

	item Bullets32Box		
	{
		Weight		=	0.6,
		Type		=	Normal,
		DisplayName	=	Box of .32 ACP Rounds,
		DisplayCategory	=	Ammo,
		Icon		=	32APCAmmoBox,
		MetalValue 	=	30,
		WorldStaticModel =	32ACPBox,
	}
	
	model 32ACPBox
    {
        mesh = weapons/ammo/AmmoBox_Carcano,
		texture = weapons/ammo/32ACPAmmoBox_tex,
    }
	
	craftRecipe OpenBoxof32Rounds
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 1 [Base.Bullets32Box],
		}
		outputs
		{
			item 50 Base.Bullets32,
		}
	}

	craftRecipe Put32InBox
	{
        timedAction = PlaceAmmoInBox,
		Time = 5,
		category = Ammunition,
        Tags = InHandCraft,
		inputs
		{
			item 50 [Base.Bullets32],
		}
		outputs
		{
			item 1 Base.Bullets32Box,
		}
	}

	item ScorpionMag
    {
        CanStack	        =	   FALSE,
        Weight	            =	   0.2,
        Type	            = 	   Normal,
        DisplayName	        =	   Skorpion Magazine,
        Icon	            =	   Skorpion_Magazine,
        MaxAmmo             =      20,
        AmmoType            =      Bullets32,
        GunType             =      Scorpion,
		WorldStaticModel    =	   ScorpionMag,
    }
	model ScorpionMag
    {
        mesh = weapons/ammo/Scorpion_Magazine,
		texture = weapons/ammo/Scorpion_Magazine_tex,	
    }
}	